package im.route.api.repository;

import im.route.api.entity.RunningNumber;
import org.springframework.data.jpa.repository.query.Procedure;
//import tech.kbtg.IntegrationModule.backoffice.generated.entity.RunningNumber;
//import tech.kbtg.IntegrationModule.backoffice.generated.repository.RunningNumberRepository;

public interface RunningNumberRepositoryCustom extends RunningNumberRepository {

    @Procedure(value = "get_running_number_by_key")
    Long getRunningNumberByKey(String running_key);

    RunningNumber findByRunningKey(String runningKey);
}
